#if !defined(AFX_OBJECTDIALOG_H__C5A621E6_E1BF_11D5_94D2_0050BF3463C5__INCLUDED_)
#define AFX_OBJECTDIALOG_H__C5A621E6_E1BF_11D5_94D2_0050BF3463C5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ObjectDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CObjectDialog dialog
#include "DialogListener.h"
#include "Object3D.h"
#include "VisualName.h"

class CObjectDialog : public CDialog
{
// Construction
public:
	CObjectDialog(	std::deque<VisualName> & v,Object3D * o,CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CObjectDialog)
	enum { IDD = IDD_OBJECT_DLG };
	float	m_alpha;
	float	m_azul;
	float	m_rojo;
	float	m_verde;
	float	m_brillo;
	float	m_difusaAlpha;
	float	m_difusaAzul;
	float	m_difusaRojo;
	float	m_difusaVerde;
	float	m_matriz43;
	float	m_matriz44;
	float	m_especularAlpha;
	float	m_especularAzul;
	float	m_especularRojo;
	float	m_especularVerde;
	float	m_matriz11;
	float	m_matriz12;
	float	m_matriz13;
	float	m_matriz14;
	float	m_matriz21;
	float	m_matriz22;
	float	m_matriz23;
	float	m_matriz24;
	float	m_matriz31;
	float	m_matriz32;
	float	m_matriz33;
	float	m_matriz34;
	float	m_matriz42;
	float	m_matriz41;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CObjectDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void updateMatrix();

	// Generated message map functions
	//{{AFX_MSG(CObjectDialog)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelectVisual();
	afx_msg void OnDeselectVisual();
	afx_msg void OnRotate();
	afx_msg void OnTranslate();
	afx_msg void OnScale();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	//CDialogListener & listener;
	Object3D * object;
	std::deque<VisualName> & visuals;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OBJECTDIALOG_H__C5A621E6_E1BF_11D5_94D2_0050BF3463C5__INCLUDED_)
